<style type="text/css">
<!-- 
	nav.us-link a{
		display: inline-block;
		color:#fff;
	}
	nav.us-link a:hover{
		color:#ff0;
	}
-->
</style>
<?php if(count($data)):?>
<nav class="us-link">
	<a href="<?php echo url_for2('member_info')?>"><?php echo $data['email']?></a> | 
	<a href="<?php echo url_for2('member_history')?>">Lịch sử mua hàng</a> | 
	<a href="<?php echo url_for2('member_order')?>">Đơn hàng</a> | 	
	<a href="<?php echo url_for2('member_logout')?>">Đăng xuất</a>
	
</nav>
<?php else: ?>
<nav class="us-link">
	<a href="<?php echo url_for2('member')?>">Đăng nhập</a> | 
	<a href="<?php echo url_for2('member')?>">Đăng ký</a>
</nav>
<?php endif?>